package com.dfiov.cloud.msmtools.service.feign;


import com.dfiov.cloud.msmtools.entity.vo.msVehiclestatus.VhlDataV2Vo;
import com.pateo.qingcloud.framework.common.base.BaseRestResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(value = "msvehiclestatus")
@FeignClient(value = "msvehiclestatus", url="msvehiclestatus.pro.dftccloud.t.home")
public interface MsvehiclestatusFeign {

    @RequestMapping(value = "/msvehiclestatus/vehiclestatus/v3/vehicleStatus",
            method = RequestMethod.GET,
            produces = MediaType.APPLICATION_JSON_VALUE,
            consumes = MediaType.APPLICATION_JSON_VALUE)
    BaseRestResponse<VhlDataV2Vo> getX37StatusV3(@RequestParam(value = "vin") String vin);
}
